using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;

namespace XFGameFramework
{
    internal class DisableListener : MonoBehaviour
    {
        [SerializeField]
        internal UnityEvent onDisable = new UnityEvent();
         
        private void OnDisable()
        {
            onDisable?.Invoke();
        } 
    }

}

